package com.nightpiter.view.graphics.abstaractions;

import com.nightpiter.view.graphics.PathEffect;
import com.nightpiter.view.graphics.Shader;

public interface AbstractPaint {

	public enum Cap {
		BUTT, ROUND, SQUARE
	}

	public enum Style {
		FILL, FILL_AND_STROKE, STROKE
	}

	public int getColor();

	public PathEffect getPathEffect();

	public Shader getShader();

	public Cap getStrokeCap();

	public float getStrokeWidth();

	public Style getStyle();
	
	public float getTextSize();

	public boolean isAntiAlias();

	public float measureText(String text);

	public void setAlpha(int a);

	public void setAntiAlias(boolean aa);

	public void setARGB(int a, int r, int g, int b);

	public void setColor(int color);

	public PathEffect setPathEffect(PathEffect effect);

	public void setShader(Shader shader);
	
	public void setStrokeCap(Cap cap);

	public void setStrokeWidth(float width);

	public void setStyle(Style style);

	public void setTextSize(float textSize);

}
